package com.spread.dao;

import com.spread.beans.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface UserDAO {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    User selectByPrimaryKey(Integer userId);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User selectByUserAccountAndPwd(User user);
}